export default {
  path: '/',
  name: 'Home',
  component: () => import('@/layout/index.vue'),
  meta: {},
  children: [
    {
      // 首页
      path: '/',
      name: 'HomePage',
      component: () => import('@/views/home/index.vue'),
      meta: {
        title: '首页',
        isShow: true
      },
      children: []
    },
    {
      // 仪表盘
      path: '/dashboard',
      name: 'DashboardPage',
      component: () => import('@/views/dashboard/index.vue'),
      meta: {
        title: '仪表盘',
        isShow: true
      },
      children: []
    },
    {
      // 用户管理
      path: '/user',
      name: 'userPage',
      component: () => import('@/views/user/index.vue'),
      meta: {
        title: '用户管理',
        isShow: true
      },
      children: []
    },
    {
      // 角色管理
      path: '/role',
      name: 'rolePage',
      component: () => import('@/views/role/index.vue'),
      meta: {
        title: '角色管理',
        isShow: true
      },
      children: []
    },
    {
      // 权限管理
      path: '/auth',
      name: 'authPage',
      component: () => import('@/views/auth/index.vue'),
      meta: {
        title: '权限管理',
        isShow: true
      },
      children: []
    }
  ]
};
